import Request from '../request/index.js';

export function getHotSuggests() {
  return Request.get({ url: '/home/hotSuggests' });
}

export function getCategories() {
  return Request.get({ url: '/home/categories' });
}

export function getHouseList(currentPage) {
  return Request.get({
    url: '/home/houselist',
    params: {
      page: currentPage
    }
  });
}